stumble around aimlessly

Translations
бродить бесцельно
She would often stumble around aimlessly, lost in thought.
Она часто бродила бесцельно, погруженная в мысли.